package cn.hs.mapper;
import org.apache.ibatis.annotations.Param;

import cn.hs.entity.Charge;
import cn.hs.entity.Consult;

import java.util.List;

/**
* @author hjj15
* @description 针对表【charge】的数据库操作Mapper
* @createDate 2024-10-24 10:37:09
* @Entity cn.hs.entity.Charge
*/
public interface ChargeMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Charge record);

    int insertSelective(Charge record);

    Charge selectByPrimaryKey(Long id);



    int updateByPrimaryKeySelective(Charge record);

    int updateByPrimaryKey(Charge record);

    List<Charge> selectAll(Charge charge);
  List<Consult>  selectAllConsult();

    List<Charge> selectByConsultId(@Param("consultId") Integer consultId);



}
